/*
 * @Author: yangzonglong
 * @Date: 2020-09-22 15:01:30
 * @version: v1.0.0
 * @Descripttion: 
 * @LastEditors: yangzonglong
 * @LastEditTime: 2020-09-22 15:39:26
 * @Auditor: 
 */

export interface SerialNumber {
  serialNumber: string;
  id?: string
}

export interface StockSerialNumber extends SerialNumber {
  id: string
}

export interface IProps {
  visible: boolean;
  onCancel(): void;
  onOk(serialNumbers: SerialNumber[]): void;
  disabled?: boolean;
  defaultSerialNumbers?: SerialNumber[];
  stockSerialNumbers?: StockSerialNumber[];
  totalNumber?: number
}